<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<ui:composition xmlns="http://www.w3.org/1999/xhtml"   
     xmlns:h="http://java.sun.com/jsf/html"
     xmlns:f="http://java.sun.com/jsf/core"
     xmlns:ui="http://java.sun.com/jsf/facelets"  
     xmlns:p="http://primefaces.org/ui" >
	
	
	<h:form id="formBuscar" prependId="false">
		<p:dialog header="#{msg['form.zona.formulario']}" widgetVar="buscar"
			modal="true" resizable="false">
			<h:panelGrid columns="3">
						<h:outputLabel value="#{msg['form.visitas.inmueble']} *" />				
						<p:inputText id="inmuebleBuscar" value="" required="true" size="5" >
							<f:validateLength maximum="10" />
						</p:inputText>
						<p:message for="inmuebleBuscar" />
						
						<h:outputLabel value="#{msg['form.visitas.fecha']} *" />				
						<p:calendar value="#{calendarBean.date2}" id="popupCalDesdeBuscar" pattern="yyyy/MM/dd " size="18" />
						<p:message for="popupCalDesdeBuscar" />
						
								
						<h:outputLabel value="#{msg['form.visitas.fecha']} *" />				
						<p:calendar value="#{calendarBean.date2}" id="popupCalHastaBuscar" pattern="yyyy/MM/dd " size="18" />
						<p:message for="popupCalHastaBuscar" />
							
						<h:panelGrid columns="1">
							<p:commandButton value="#{msg['form.botones.buscar']}" />				
						</h:panelGrid>
						
				</h:panelGrid>
		</p:dialog>
	</h:form>
	
</ui:composition>